﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Content/Default.Master" Inherits="System.Web.Mvc.ViewPage<SCSService.Post>" %>
<%@ Import Namespace="SCS.Core" %>
<%@ Import Namespace="SCS.Core.Models" %>
<%@ Import Namespace="SCS.Core.Models.ModelsFontend" %>
<%@ Import Namespace="SCSService" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	PostDetail
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">


    <div >
			<div id="categoryPost" style="float:left;">
                <%=ViewData["ListCategory"]%>
            </div>			    			
			<div id="PostDetail">              
  	                <table>
	                    <tr>
                            <td>
                              <a href="#"><img src='<%=Model.PostImage %>' alt="" border="1px" class="Img"/></a>
                            </td>
                            <td valign="top">
                              <span>
                                <%=Model.PostTitle %>
                              </span>
                              <br />
                              <span>
                                <%=Model.PostAbstract %>
                              </span>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <hr />
                                <span>
                                    <%=Html.Encode(Model.PostContent) %>
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            
                            </td>
                            <td>
                                <%=Model.PostCreat %><br />
                                <%=Model.PostSource %>
                            </td>
                        </tr>
	                </table>
			</div> <!-- data -->

	</div>  	


</asp:Content>
